<template>
  <div>
    <tiny-button :icon="IconSearch"></tiny-button>
    <tiny-button type="primary" :icon="IconEdit"></tiny-button>
    <tiny-button
      type="success"
      native-type="submit"
      :icon="IconYes"
    ></tiny-button>
    <tiny-button type="info" :icon="IconMail"></tiny-button>
    <tiny-button type="warning" :icon="IconStarO"></tiny-button>
    <tiny-button type="danger" :icon="IconDel"></tiny-button>
  </div>
</template>

<script>
import { Button } from '@opentiny/vue'
import {
  iconDel,
  iconYes,
  iconEdit,
  iconMail,
  iconStarO,
  iconSearch
} from '@opentiny/vue-icon'

export default {
  components: {
    TinyButton: Button
  },
  data() {
    return {
      IconDel: iconDel(),
      IconYes: iconYes(),
      IconEdit: iconEdit(),
      IconMail: iconMail(),
      IconStarO: iconStarO(),
      IconSearch: iconSearch()
    }
  }
}
</script>
